home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Archiv / OpusSDK.lha / opussdk / amigaguide / dopus / misc.h < prev    next >
C/C++ Source or Header  |  1996-09-08  |  2KB  |  61 lines

  1. @DATABASE "dopus/misc.h"
  2. @MASTER   "opussdk:include/dopus/misc.h"
  3. @REMARK   (c) Dr Greg Perry and Jonathan Potter, GPSoftware 1996
  4. @REMARK   This file was initially created by ADtoHT 2.1 on 07-Sep-96 18:20:14
  5. @REMARK   ADtoHT is © 1993-1995 Christian Stieber
  6.  
  7. @NODE MAIN "dopus/misc.h"
  8. @TOC "DopusSDK/MAIN"
  9.  
  10. @{"dopus/misc.h" LINK File}
  11.  
  12. @ENDNODE
  13. @NODE File "dopus/misc.h"
  14. #ifndef _DOPUS_MISC
  15. #define _DOPUS_MISC
  16.  
  17. /*****************************************************************************
  18.  
  19.  Miscellaneous functions
  20.  
  21.  *****************************************************************************/
  22.  
  23. // Hex ascii to long
  24. long Atoh(char *,long);
  25.  
  26. // Long to ascii (various methods)
  27. void Itoa(long,char *,char);
  28. void ItoaU(unsigned long,char *,char);
  29.  
  30. // Convert long value to byte string
  31. void BytesToString(unsigned long,char *,short,char);
  32.  
  33. // Division to a string
  34. void DivideToString(char *,unsigned long,unsigned long,short,char);
  35.  
  36. // 32-bit divide with remainder
  37. ULONG DivideU(unsigned long,unsigned long,unsigned long *,struct Library *);
  38.  
  39. // Convert BSTR to char *
  40. void BtoCStr(BSTR,char *,long);
  41.  
  42. // Random numbers
  43. void Seed(long);
  44. long Random(long);
  45.  
  46. // Build ascii string from rawkey values
  47. void BuildKeyString(unsigned short,unsigned short,unsigned short,unsigned short,char *);
  48.  
  49. // Valid key qualifiers
  50. USHORT QualValid(unsigned short);
  51.  
  52. // Convert rawkey values to a character
  53. BOOL ConvertRawKey(unsigned short,unsigned short,char *);
  54.  
  55. // String manipulation
  56. BOOL StrCombine(char *,char *,char *,long);
  57. BOOL StrConcat(char *,char *,long);
  58.  
  59. #endif
  60. @ENDNODE
  61.